# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.

obj-y += suspend.o
obj-$(CONFIG_PM) += liblinux_pm.o
CFLAGS_liblinux_pm.o += -I$(srctree)/drivers/base/power
obj-$(CONFIG_SUSPEND_FAIL_NOTIFIER) += suspend_fail_notifier.o
obj-$(CONFIG_SUSPEND_FAIL_ERROR_INJECT) += suspend_fail_error_inject.o
CFLAGS_suspend_fail_error_inject.o := -I$(srctree)/lib
